package com.jf3q.common.feign;

import com.jf3q.common.dto.ResultDto;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author:xiaojie
 * @create: 2023-06-28 09:15
 * @Description:
 */
@FeignClient(value = "oss-service")
@RequestMapping("/oss")
public interface OssClient {

    @DeleteMapping
    ResultDto del(@RequestParam(name = "path") String path);
}
